#ifndef ap_h
#define ap_h
#include "types.h"
 // Various constants - these definitions shouldn't change
 const _DOUBLE_ a=0.1, b=0.1, kk=8.0, M1= 0.07, M2=0.3, epsilon=0.01, d=5e-5;

#ifdef DEBUG
 const int WAIT = 1;
#else
 const int WAIT = 0;
#endif


// External functions
   void splot(_DOUBLE_ **E, _DOUBLE_ T, int niter, int m, int n);
   double getTime();

   void printMat(_DOUBLE_ **U, int m, int n);
   void printMatLocal(_DOUBLE_ **U, int m, int n);
//   void repNorms(_DOUBLE_ **E, _DOUBLE_ t, _DOUBLE_ dt, int m,int n, int niter);
   void repNorms(_DOUBLE_ *E, _DOUBLE_ t, _DOUBLE_ dt, int m,int n, int niter);
 // Uses gettimeofday() to collect timings on the host side
   void splot2(_DOUBLE_ *E, _DOUBLE_ T, int niter, int m, int n);
#else
#endif
